package oa.hleast.xswl.pojo.domain.oms;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import oa.hleast.common.base.BaseEntity;

/**
 * @author: 302
 * @date: 2021-10-26 17:39:40
 * @description: 订单评论表(OmsOrderComment)实体类
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("订单评论表实体类")
public class OmsOrderComment extends BaseEntity {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("用户id 移动端用户")
    private Long userId;

    @ApiModelProperty("用户姓名 移动端用户")
    private String userName;

    @ApiModelProperty("用户头像")
    private String userAvatar;

    @ApiModelProperty("店铺ID")
    private Long storeId;

    @ApiModelProperty("店铺姓名")
    private String storeName;

    @ApiModelProperty("商品spuID")
    private Long spuId;

    @ApiModelProperty("商品sku名称(冗余快照)")
    private String skuName;

    @ApiModelProperty("商品sku总价格")
    private Long skuTotalPrice;

    @ApiModelProperty("商品主图")
    private String picUrl;

    @ApiModelProperty("订单ID")
    private Long orderId;

    @ApiModelProperty("评价内容")
    private String commentContent;

    @ApiModelProperty("相册")
    private String imagerList;

    @ApiModelProperty("商品评价星级")
    private Integer startRating;

    @ApiModelProperty("评论审核状态 0待审核 10审核通过 11审核驳回")
    private Integer reviewStatus;

    @ApiModelProperty("店铺申请审核 备注")
    private String reviewRemark;

    @ApiModelProperty("是否有商家回复(0否 1是)")
    private Integer haveStoreReply;
    @TableLogic(value = "0", delval = "1")
    @ApiModelProperty("删除标识  (0未删除 1已删除)")
    private Integer deleted;


}
